local upgrade fix