hardware: some minor improvements for converting