remove unnec. dirs