fixed the date picker