remove some linked dirs