replace tab with spaces to preserve correct alignment