moved setting of heroId to init function