fix: refactoring error