trap: some cleaning