delete unnecessary files in layout folder