fixed photon map error