modify delete key event