replace tabs with spaces in wrapper