fix schedule confirm.
fix some bug.