solution the problem with tabs