found bug in date lookup