fixed timezone-related bug