Fix some 'sed' commands