added future logic for handling bad syntax parse

added future logic for handling bad syntax parse