fixed multiple bases upgrade