remove buildmode