How to adjust the margin time