improve compatibility with IE