bug fix, the test do not crash anymore