fix for the margin center

Take a look at this