Fix intendation and remove trailing whitespaces