fixed dbext not workign right