ubb -> smf conversion