refactor(edit) add initAce, worker condition