fix read input filtration