fix schedule error