remove secured layers from configs
rename index  and index 2