changed input filter to string instead of filter type