corrected secure key