fix bug in api caused by forgetting to require record_parser