fix params type
Fix #2: add support for complex/multiple store