fixed loose-agent's spec.json.