add spawn consequence
correct class include
style fix