started fixing raet header format