fix bug related to Raspberry Pi time