*fix error with analytics