Fixed null pointer for responses