Still trying to fix datetime errors