fixed upgrade bulk issue