fix PST offset calculation