patch to work with IE11