can get object from favorite click