fixing intermittent test failure