remove lastPhotonSet var