fixed time eduling bug
removed leftover debug code