fix duplicate option