fix old spec syntax