insertion cleanup