Indentation changed to spaces

and some other stuff was done too