How to stop my cubes from flipping over?

hey there!
did you try to put a big value on your belts physical mat (friction).
as well as you might want to put a bigger mass value