fixed hud crash issue