remove redundant untyped
fix indentation
remove global bigEndian = false setting (we cannot do it like that)