fixed secure key last