scheduler bug