debugged photo migration