bugfix for spec.Run