fixed bugs for IE