fixed undefined error

Fixed an undefined error with the time_zone module.