Fix to IE7, add to d_wrap