when intercept click event of a, not check if href is null, then error occurs when get hash