fixed bug with api ordering breaking naming convention