listing bugs

2 major listing bugs fixed
#1 solve the problem when there are parameters on url
#2 solve the %20 problem in canned queries