Remove code

When Im tring to change page in the text option like half of my code removed. Someone know how to solve that?