bug fix: view button disappears when we unset_delete and unset_edit