cleanup for apidocs