add the missing instruction to change rights, update #2140