bugfix for fermi tests.