clean up build errors