add a new immediate function for data-nav customizing