fixed time zone detect bugs