small tabs refactor