petDetail view working