clean up build apis