Avoid exception if no spec executed