caught syntax error in db