Fix gen sec missing