skip generate keys when it is set