fix patch data