fixed companies filed filter function