corrected problems with photo tutorial