replaces layer for html.schtml to html.core