make datetime picker work!