transform tab to spaces