work around autoincrement and mass assignment issues