fix syntax error
fix end condition