Fixed Fix_Key calculation