fix duplication bug after death