New method clear for URL
New UT
New UT, bug fixes about query