bug fix to receiving QoS 1 messages