autoenable switch & custom classname..