fix bug: nil check for start_time