Fixed loki_hdr struct definition booboo