fixing up build process