add piwik support
fixed bug for piwik