fix the problem with sed options