delete option only to show up when appropriate