fix indentation for _load_from_header function