delete confirm
refactor