(refactor) change tabs to spaces