fixed navbar shifts.count issue