fixed error on no DB_TYPE