fixed syntax error
fixed error in error handling