record error when duplicate option is registered