Fixed variable name.
Fixed deletion.