Fix compile error because of bad response type.