added code to generic filter html