Fix STAT response handling