Fixed return value for getResponse