being compatible with latest piwik changes