now -i works in expected case