fixed a bug  when feeding pet