removing space that breaks the links