SPEED-12 Fix error upgrade