Endnote style editing


The style I use is like

Author, Title (…)

My endnote library has some books without an author. In that case endnote puts a comma after the title as the author field is replaced by the title field:

Title, (…)

But I do not want a comma after the title for books without an author. I could not find a solution to the problem.  The source code is as follows:

Author, |Title|, [Translated Title]|, ed. Series Editor|, trans. Translator|, Edition ed.|, Number of Volumes vols.|, vol. Volume|, Series Title| (|Place Published|: Publisher, Year|; reprint, Reprint Edition|)|, Cited Pages|.

I will highly appreciate any help. 

Thanks and regards