fix intermittant test failures