Fix uri loading.