fix performance in ie