Fixing problem with tabs