fix custom config