fix up hero code