made syntax exception message more friendly