Fix Delete bug