bug fix analytics.phtml