fixes long print urls from policy show pages