remove external & generated