stucked on this Direct Button

my codes as below:

import direct.directbase.DirectStart
from pandac.PandaModules import *
from direct.showbase.DirectObject import DirectObject
from direct.actor.Actor import Actor
from direct.interval.IntervalGlobal import *
import sys, math
from direct.task import Task
import onef
import twof
import gf
import globalvar
#from direct.showbase.ShowBaseGlobal import *
from direct.gui.DirectGui import *

class World(DirectObject):
        def __init__(self):
                base.disableMouse()
                self.LoadModelz()
                self.setupLighting()
                self.setupCollisions()
                camera.setPos(-3,34.2,0)
                camera.setHpr(Vec3(185,0,0))
                self.welcomeScr()
                #self.keyz()

        def welcomeScr(self):
                b = DirectCheckButton(text = "CheckButton" ,scale=.05,command=continueFreeWalk)

        def continueFreeWalk():
                self.keyz()
                b.remove

        def LoadModelz(self):
                
.........................................
.................................

TypeError: Error when calling the metaclass bases
module.ini() takes at most 2 arguments (3 given)

Move the line that imports DirectObject to after the line that imports DirectGui.

David