fixing requireconfig