fix number -> text conversion