fix spec cmd