fixed minor bug where option gets overwritten to items with no option