issue  #2057 until dir lib  except external subdir and slep/p1 subdir