Fixing database uri