fix buttons being counted as another number

Signed-off-by: Liew Zhao Wei <zhaoweiliew@gmail.com>