regenerate secure variables