fix naive/aware datetime issues