remove dirs that extras will use