better support for empty hashchange and show share url