When a reference appears in this format it means the formatting is turned off.
To fix this, go to the EndNote tab in your Word document and if the formatting displays as: Instant Formatting is Off, click on the drop-down arrow and choose Turn Instant Formatting On.