fix stupid refactoring error