some minor fixes
added ability to repair indents in the code