fix some bugs with hero panel