fixed typo and changed the id sequence generator from native to increment