prefer sed for better space selection