Fix to_do_list number 5. (Fix the problem with insert a pref right after register).