no-photos errors fixed