removing old secret hash