tabs to spaces and remove @folder variable