Fix for initialization and hash in the url