changed the if statement for hero class selection.  == was throwing errors and not always selecting the correct class, thus I changed it to .equal and the error seems to have been eradicated