removed unneeded -i switch