making value public and null check on defaultfilter