removeing bin and gen