file encoding and indentation fix