bugfix: frontend using wrong db