fix some extra characters showing in ubuntu terminals