fixed the hero bug