fix get photo