refactor cut_date and promote it to setting.ini