cleaning the REST API