bugfix: opts should be an instance variable
v1.0.1