refactor: clean prepare_media
refactor: delete get_index_from_column_label, use get_index_for instead