fix timezone offset calculating error