Remove unwanted char from link