remove a duplicate judgment about welfare
avoid potential crash of Room::getFront
remove redundant 'virtual'