fix get spec