remove bin and gen dir