Solved bug with tabs