Fixed bug where the app would crach due to parameters in the URL