fixed killing order
Merge pull request #2 from albertnez/dev

fixed killing order