fixing syntax erros