fix superfluous hyphen when no extra version exists