fix a few references to hardware directory