more pruning for build process