EMpty spaces cleaning in template
instead of uri_escape use uri_escape_utf8