cmean, fixed parser