optimize, fix for ie10