fix small bug with url opening