remove the foobar amd detection (there was a duplicate there)