fixed for URL callback issue