fixed an issue with empty spec names