remove unnecessary dir