Fix key variable