take into account initMod and misc styling