get rid of extra spaces in source link