flex pause at end