bugfix scheduler