After A lot of testing and checking , the result was that i was using static HTML application to add a new tab and get some benefit from fan gate etc... but that was the problem , after creating the tab in the normal way without any application it worked like a charm.
thank you cdbconcepts for your help .