fixing some stuff in photos