fix the un-matched function definition of the child class of Walker.
fix some strict syntax notice.