fix gen-idea