open url handling modified