fix cgi label commands after multi-label changes (#4621)