refactor(edit) mv focus to func