fixed -i option feature