Fixed wrong deletion.