Bugfix for IE6/7