Changed the Kill function to fix the no-kill bug