Fix adapter for hm