fixed firebase_url handling