removing commented slag