#33 add type checking for sandbox.subscribe params