Fix Given a key for the machine scenario