use detroy instead of kill