fix hud crash