fixing problem with tabs