fixed the datetime picker