fix for hardware reset issue