small fix in the reg delegate that checks the response for null ID-244