correct database-type