Small fixes for missing num2str variable