photon set id bug fix