fix dense storage