fixing secure variables