Fixed bug in timezone setting