delete the unused layout