moved static members to global members
update tran key validation rule