delete bin, gen directory