change --in-place to -i