fix eq in InitFlag, use outer comment