storage issue

iOS and iPadOS

I have an IPhone8 and having a weird issue. When I go into my storage to find out what apps are taking up the most storage it tells me that Safari is taking up 6.9 gigs and that ICloud drive is taking up 3.95 gigs. I did have some large files I downloaded but have since deleted those out of ICloud drive and deleted the cash and history out of safari but my iPhone is not taking that storage into consideration for some reason. When I go into ICloud drive and safari individually it shows 0 bites. Anyone know why this large amount is showing in storage even though I have deleted the cash and files? I do have the beta of ios 13, could this be a bug?