bug fixed

removed comma at the end of optionNames string, which makes a blank state option