fix to delete transactions