Fixing syntax bug with insert with id