Fix regression bug: opening URLs didn't work

Fix #68 and #73