fix some spec errors