availablePayload bug fixed