plat cleanup and save implementation