0827 photo null check