small hdem fix