Silly refactoring mistake