fixed sed -E (with sed -r)