Bug: typo during refactor