fixed issue calcualting CV measures due to the final specifics