schedule bug

Fix small schedule bug