Fix the problem with firststarttime.