temporary workaround for array input in parser.