fixed the issue that a contact has no photo