bugfixes for repsponses