fix the null url issue of browser bookmark