Bugfix database plugin