Remove whitespaces and fix indents