check wrong groups command and change confirm link to button