fix bug in hud