Fix issue where we are using _datetime and _dt