external dirs other than main removed