add dir(with bugs)
fix bugs with dir delete