datetime picker bug fixed