fixed $name bug, now $hardnamew