code style: fix indentation and removed white space at end of lines