bug fix with specs/cucumber

as discussed