upgrade bug