fixed problem with clicking a link that sends you out of admin page