[minor] refactor