fix margins with percents