Fixed reference
Fixed problem when the server is down