crystalphase/windowphase bug fixed