style cleanup before recreating it as it just does not work in IE8