fix a mistake get hw keys working