added patch for supporting additional APDUs