UTXX: convert.cpp simplified