adjust pre margin