syntax error in the try statement