'generate' action fixed.