fixing jega bug HeroController