Handle bad syntax gracefully