Fixed static initialization bug of TimeProfile objects.