fix patch command