patching up to build