fixed -i option output