fix wrong signatures
disconnect function
Merge pull request #2 from ikv/master

disconnect function