fixed syntax error in specs