remove permlinks