Fix configread validate