fix missing key decoding