fixing failings of spec