correcting margin