fix firefox flex and filtering