cmax wasn't defaulting correctly