fix weird c date warning