correct a bug in the spec runner