clean tabs an spaces

convert spaces in tabs
clean tabs and spaces for end of line