mod: shorten the configstring