temporary fix for relative_date problem