Fixed an issue with the spec command