Fix serverURL retrieval