Fixed init tabs problem