removed set_dates default value of an array