debug in photo gallery + minor typo changes...