[FIX] fix problem on datetime fields