codegenerator culture fix