fix the bug of nav menu not updating with admin settings