coding error

Do a Tools > Auto Format on your code and then check the automatic indentation to make sure it matches your intended program structure.