Get rid of trailing slash, turns into double slash on links