Fixed primitives loading
Merge pull request #223 from gwenael-hagenmuller/fix-loader

Fixed primitives loading