remove unwanted options