more robust against old configs