Fix warning on kill