fix filtered input