Fixed bug with open url