fix upgrade routines/11