corrected bug in wrong db version gestion