fix hardwaer_test