support opts.value
0.2.7