fix a bug of include weight_inherit.h