fix for ie9 bugs