paste layer cleanup