debugging hero-unit