fix custom config loading