Fixing syntax erros