fix insert_beginning_list