add bracket support for parser