rectified select options error on edit