handle bad responses