This was mostly only a problem for the first month after starting IF. I found a couple things that seemed to help. Eating my last meal earlier in the day, exercising after my last meal and at least an hour before bed and drinking lots of water before bed.
I think it was mostly just my body getting used to IF