fixed issue with setting state on kill