suppressing unwanted blank characters and a duplicate include