tabs to spaces for state