avoid date warning