Script shows no error but preview is being weird?

To get the app previewer I had to create a second and third chapter and hit enter till they reached 400 lines :pensive: just to be able to view it and it still acts up in the app previewer