corrections to build package