fix issue with legacy config