Fix bug with inserts
id's are now working