fixed a weirdly failing spec