commit before rebuilding with hashes