Improve CAS group string