fuel cell question

I have a cell in my car with a low sump . When hard cornering I had fuel slosh in the cell ,put foam in it solved the problem . What Johnny said is totally right . Put the foam in it .