converter: tiny refactor