fixed secure key error