[fix] refactor