fixes for admin custom links PR