removing newlines and indentation