fixed language factories in specs