remove debug from photo gallery