fixing issue with sed and text coloring