fix buggy outpu with exludes