fixing input filters