Fix the method pet id maps added patch