fix hal