Not getting correct click count in email links when using code mode email template

Hi,
thanks for replying.
yes click tracking is turned on.
also tracking works fine when I create email using any existing theme.
the problem is only with emails created in code mode.
according to this link Click tracking not working, click tracking doesn’t work in code mode emails.
It is working for me but the count is not right.