fixed HUD zero division error