fixed syntax error and removed log