bugfix,in some spacial js environment,it will happen.