Added margin reset