check ack mode correctly on createSession