fixed silly bug in spec