fix bug at  include method in class