fix bug in linux test