fixed a failed spec example.