fixing time_table