changed dedirecords and localrecords places opposite at tab-layer