fixing date&time