bug giving chars as index to -m removed