fixing bug in prebind response handling