Removing \r of lines

to read files from windows, we need to remove \r of lines
Correcting the menu entry for mi

The menu was going always to mi because a miss of vm.count