Fix bug with field creation
Merge pull request #20 from AlexandreToyer/3.0

Fix bug with field creation