fix num2str common func