Fix private pub configuration.