change opts.key to opts.filter
ver 0.0.19