rm bin and gen dir