fixed secret loading