Fix HWI bug

Fixes bug where the HWI to the keyboard doesn't work properly when A is 2. Should work now.