remove bin and gen