bugfix from when api.rest was broken out into multiple modules