Fix key settings