fix response check