Fixed read db version.