added response handler for problems