Patch to avoid error from warning