db fixes related to timezones