fixed a testing timeout issue