fix classes on machine keys section enabling the correct association for keys with spaces