fixed Notice: Undefined variable: defaultTimezone