finish add/delete stack