Fixed where active attribute is.