Fix bug in init response handling