There is an unterminated else in the code