fixed segmentation fault
Merge pull request #28 from romankurbatov/trikCommunicatorFix

fixed segmentation fault