fixed hopefully StateVanishing Bug
removed debugging log