fix type on HWM