Fixed import of decode_header