fixed: problem setting correct version for databases