ok, the code is ugly bug at least there is now a new tab with content in the right place