fix call to paircreate. Fixes #313