Fixing startup issue when cluster mode is enabled.