Fix t.replace error on removing data-role=layout-adapter