read mode for ensure config