Quick Fix

added missing delete function within the delete function