Fixed the failed specs.