fix issue with imported configs-field, if not an array