fix invisible PHOT bug when going through GLAS sometimes