fix datetime confusion