remove unicode conversion code from main driver