fix issue where config entries is a sparse array