fix schedule command