small tabs refactoring