remove addtional null checks in patchGroup