fixing symbol parser, logic, and symbol construction