fixed typo on generatedIds