support old spec on this branch