library date fix