removed scheduler bug