fixing sed syntax