fixed the 'concurrent delete exception' problem in matrix DELETE method'