fixed photo issues