Removed redundant sed operations