fix ban upgrade closes #2239