Fixed an issue assigning heroes