fix spec errors
fixed spec errors