fix showing photos