clean table before insert