fixed minor schedule bugs