click needs to use avoidClass as well