changed ids in main_row