Tiny refactor fix