Fix for getResponse method