fix bug occur when options value has deep structure