Fixing database path