fixed photo overflow