fixed failing integration test