the fix for (sorry) "bend gate"