use params for menu, file and code control to fix anchor tags