don't crash when the user inputs invalid syntax