Fix the error produced when running analytics for the first time and generating the dump file