fixed wrong images when using optgroup