Fixed delete method
Will return value initially, however, will return nill when the key is called.