fix file load bug: loading from stock browser or third party browser
like astro works.