remove external directory