fixed first spec errors