fix spec syntax error