remove extra space that breaks the link