fixes for database driver & renderer