here was change in cucumber api

Refer  https://github.com/cucumber/cucumber/pull/695