glad: remove api restriction, parser.error on error