replaces tab with whitespaces, ref #164