(bluefox) fix problem with upgrade adapter