cc.flags is an array rather than a string