trap some malformed statements