rename mode fragments