bugfix of auto_locale for preventing the js/css/image asset content to be served