fix bug for ff and ie10 to run