added fixes for different ie versions