fix spec due to massive deprecations