fixed bugs for IE6