Fix issue with setting admin links