fixing photo directory