Minor fix mispelling, also, fix module generator syntax