fixing photo order