fixed a failing spec