fixed photo problems