Fix problem of generating wrong path, e.g https://demo.firebaseio.comusers