fix machines to keys association