fix end popup to handle hero classes
match end popup seems now OK