Correct spelling of generate from genrate to generate.