fixed bug in cohspec