Fix database driver