fix syntax error in spec