refactor schedule process and init commit method