changed ülace for date checking