fix time stamp (minute) bug