syntax error in error message fixed