fixes integration test with usecurrentcp