fix for analytics ready