Bugs in creatscripts

fixed a few bad field identifiers in create scripts
Merge branch 'master' of https://github.com/matodt/inventory-manager