fixing a spec bug