convert all tabs to spaces and fix code indent.