fixed overflow in bonus