add del action
add del action
finish dir delete function