deletet bin and gen