fixes photo module: comment, viewphoto and some other fix