fixed syntax erros