handle invalid parser