    pub fn cancelreservationafterapprovalforlongterm(
        &self,
        deps: DepsMut,
        info: MessageInfo,
        token_id: String,
        renting_period: Vec<String>
    ) -> Result<Response<C>, ContractError> {
        let mut token = self.tokens.load(deps.storage, &token_id)?;

        let mut position: i32 = -1;
        // let mut amount = Uint128::from(0u64);
        // let tenant_address = info.sender.to_string();
        for (i, item) in token.rentals.iter().enumerate() {
            if item.address == Some(info.sender.clone()) && item.renting_period[0].to_string() == renting_period[0]
            && item.renting_period[1].to_string() == renting_period[1]
             {
                if item.approved_date.is_none() {
                    return Err(ContractError::NotApproved {});
                } else {
                    position = i as i32;
                    // amount = item.deposit_amount;
                }
            }
        }

        if position != -1 {
            // token.rentals.remove(position as usize);
            token.rentals[position as usize].cancelled = true;
            self.tokens.save(deps.storage, &token_id, &token)?;
            Ok(Response::new()
            .add_attribute("action", "cancelreservationafterapprovalforlongterm")
            .add_attribute("sender", info.sender)
            .add_attribute("token_id", token_id))
        } else {
            return Err(ContractError::NotReserved {});
        }
    }
                if item.cancelled {

                    ....

                    let fee_percentage = self.get_fee(deps.storage)?;
                    self.increase_balance(deps.storage, token.longterm_rental.denom.clone(), Uint128::new((u128::from(amount) * u128::from(fee_percentage)) / 10000))?;
                    //@audit  why increase it again here? money isn't sent in  

                    amount -= Uint128::new((u128::from(amount) * u128::from(fee_percentage)) / 10000);
            let mut cancellation = token.longterm_rental.cancellation.clone();

            .....

            let diff_days = (check_in_time_timestamp - current_time)/86400;
            for (_i, item) in cancellation.iter().enumerate() {
                if item.deadline < diff_days {
                    refundable_amount =  Uint128::new((amount.u128() * u128::from(item.percentage)) / 100);
                    break;
                }
            }


           .....

                     if refundable_amount > Uint128::new(0) {
                    Ok(Response::new()
                    .add_attribute("action", "cancelreservationafterapprovalforlongterm")
                    .add_attribute("sender", info.sender)
                    .add_attribute("token_id", token_id)
                    .add_message(BankMsg::Send {
                        to_address: traveler_address,
                        amount: vec![Coin {
                            denom: token.longterm_rental.denom,
                            amount: refundable_amount,
                        }],
                    }))
                }
