fixing bug where pets/photos keep adding