Fix : warning was not calculated on the right date