bugfix

fixing bug on spec.