photo to mongo 2 debug