changed uri to real path