fix file uri loading bug