Fixing response is null error.