added scope attribute to funcTab
clean-up
clean-ups