fixed a test error on ubuntu