small scheduler issue fix