Fix spec errors