dates not found bug fix