Fixed wrong deletion