Fix open document uri