add classname to name field