fix error in specs