fix for intermittent test failure