corrected a bug about timezone