fixing sed -i for mac