fix with granularity for ie8 and ie9