fix unnesecery call to_date (ignore english i'm tired)