better hud detection