fix duplicate layout file name bug