fix unserialize calls
Merge pull request #10 from norbusan/master

Fix derivatives for unserialize usage