bug fixed and DATABASE_VERSIONS created