Fixed node creation
Merge pull request #25 from mdevaev/head-fix

Fixed node creation