Fix formatting when no tag