[minor] refactoring