fix null ref error due to server_connection being null when needing to use admin_connection