bug fixed when running in the IE, it will occur an error.