Fix syntac error for setting the speed keys.