check dropdownfilter var exists before using
strtolower added