htmlsafe the address before search