correct timezone detection