I think my 8th gym is glitched

Im trying to resolve the last puzzle with the lasers before the gym leader and it just doesnt work, im watching youtube videos teaching how to do it and i do exactly the same and it just wont work, any help?

Try using this video https://www.youtube.com/watch?v=UP_p4BACvsY
it helped me, so it should help you